import React, { useEffect } from "react"
import AppLayout from "./layout/layout"
import { GlobalState } from "./store"

export const App: React.FC = () => {
  useEffect(() => {
    GlobalState.getAuthInfo()
  }, [])

  return <AppLayout />
}
